package com.shanzhu.beadhouse.entity.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@ApiModel(value = "操作餐饮套餐请求实体")
public class OperateCateringSetQuery {
    @ApiModelProperty(value = "id", required = false, example = "1")
    private Long id;

    @ApiModelProperty(value = "套餐名称", required = true, example = "颐养套餐")
    private String name;

    @ApiModelProperty(value = "月套餐费用", required = true, example = "1200")
    private BigDecimal monthPrice;

    @ApiModelProperty(value = "菜品编号列表(兼容旧版)", required = false)
    private List<Long> dishesIdList;

    @ApiModelProperty(value = "每日每餐菜品计划", required = true,
            example = "{\"1\":{\"1\":[101,102],\"2\":[201,202]},\"2\":{\"1\":[103,104]}}")
    private Map<Integer, Map<Integer, List<Long>>> mealPlans;

    @ApiModelProperty(value = "创建人ID", required = true, example = "1")
    private Long createId;

    @ApiModelProperty(value = "更新人ID", required = false, example = "1")
    private Long updateId;
}